<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ReadBook admin</title>
<base href="<?php echo base_url();?>"/>
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/invalid.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/simpla.jquery.configuration.js"></script>
<script type="text/javascript" src="js/facebox.js"></script>
<script type="text/javascript" src="js/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="swfupload/swfupload.js"></script>
<script type="text/javascript" src="js/swfupload.queue.js"></script>
<script type="text/javascript" src="js/fileprogress.js"></script>
<script type="text/javascript" src="js/handlers.js"></script>
<script type="text/javascript">
        function check_sc()
        {
                if($("#key").val()=="")
                        {
                        $("#key").focus();
                        return false;
                        }
        }
</script>
</head>

<body>
<div id="body-wrapper">
        <div id="sidebar">
                <div id="sidebar-wrapper">
                        <h1 id="sidebar-title"><a href="#">Abook Admin</a></h1>
                        <!-- Logo (221px wide) -->
                        <a href="#"><img id="logo" src="images/logo.png" alt="Abook Admin logo" /></a>
                        <ul id="main-nav">
                                <li><a href="<?php echo site_url('manage/right_bottom');?>" class="nav-top-item no-submenu"> Manage Books </a></li>
                                <li><a href="<?php echo site_url('manage/right_top');?>" class="nav-top-item no-submenu"> All Categories </a></li>
                                <li><a href="<?php echo site_url('welcome/add_second_category');?>" class="nav-top-item no-submenu"> Add Categories </a></li>
                                <li><a href="<?php echo site_url('welcome/upload_pdf');?>" class="nav-top-item no-submenu"> UpLoad Books </a></li>
                                <!-- <li><a href="<?php echo site_url('welcome/add_admin');?>" class="nav-top-item no-submenu">Add Upload Admin</a></li>
                                <li><a href="<?php echo site_url('welcome/add_scan_admin');?>" class="nav-top-item no-submenu">Add Scan Admin</a></li> -->
                                <li><a href="<?php echo site_url('welcome/manage_admin');?>" class="nav-top-item no-submenu">Manage Account</a></li>
                        </ul>
                        <br />
                        <br />
                        <form action="<?php echo site_url('welcome/search_page')?>" method="post">
                                <input type="text" name="key" id="key" />
                                <input type="submit" name="submit" id="submit" value="Search" onclick="return check_sc()" />
                        </form>
                        <br />
                        <br />

                        <div id="profile-links">
                                Hello, <?php echo $sign ;?>, welcome !<br />
                                <?php echo anchor(site_url('welcome/destory'),'Sign Out')?>
                        </div>
                </div>
        </div>

        <div id="main-content">


